/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const feedbackRouter = {
  path: '/feedback',
  component: Layout,
  redirect: '/feedback/management',
  name: 'Feedback',
  meta: {
    title: '反馈管理',
    icon: 'el-icon-message'
  },
  children: [
    {
      path: 'management',
      component: () => import('@/views/feedback/management/index.vue'),
      name: 'Management',
      meta: { title: '反馈管理' }
    },
    {
      // hidden: true,
      path: 'send',
      component: () => import('@/views/feedback/send/index.vue'),
      name: 'Send',
      meta: { title: '发送反馈' }
    }
  ]
}

export default feedbackRouter
